#include <stdlib.h>
#include "dtn/ConexionDTN.h"
#include "log.h"

int main(int argc, char** argv){


    if(argc<3){
	log("%s <local> <destino>\n", argv[0]);
	exit(1);
    }

    ConexionDTN conexion(argv[1]);

    conexion.connect(argv[2]);
    
    conexion.send("Hola Mundo", 10);

    conexion.disconnect();

    return 0;
}
